package com.factory;

public class Apple implements Fruit {
    @Override
    public void getName() {
        System.out.println("It's apple!");
    }
}
